<?php
	require "conn.php";
	$query="SELECT * FROM lunbo";
	$result=mysql_query($query);
	$i=0;
	while($info=mysql_fetch_array($result,MYSQL_ASSOC)){
		$array1[$i++]=$info;
	}
	echo json_encode($array1);
?>